package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;


/**
 * @author ：zfr
 * @date ：2021/3/23 14:55
 */
@FieldTypeAnnotation(tableName = "t_l_ck_clinic_department", desc = "科室升级日志", autoSave = true, uploadCk = true)
public class LogClinicDepartment extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "科室类型")
    private int departmentType;
    @FieldTypeAnnotation(desc = "原始值")
    private int originLv;
    @FieldTypeAnnotation(desc = "当前值")
    private int curLv;
    @FieldTypeAnnotation(desc = "消耗")
    private String cost;

    public LogClinicDepartment(long userId, int departmentType, int originLv, int curLv, String cost) {
        this.userId = userId;
        this.departmentType = departmentType;
        this.originLv = originLv;
        this.curLv = curLv;
        this.cost = cost;
    }

    public long getUserId() {
        return userId;
    }

}
